$color-border: #e1e1e1;
$color0: #000;
$color1: #b71120;
$color2: #FFF;
$color3: #6a6a77;
$color4: #333;
$color5: #999;
.orderFood {
    &_header {
        margin: 0 20PX;
    }

    &_scroll {
        display: flex;
        flex: 1;
        width: 100%;
        flex-direction: column;
        overflow: hidden;

        .time_wrap {
            display: flex;
            flex-direction: row;
            margin-top: 5PX;
            margin-bottom: 5PX;
            border-top: 1PX solid #e1e1e1;
            border-bottom: 1PX solid #e1e1e1;

            .time_item {
                display: flex;
                flex: 1;
                border-left: 1PX solid #e1e1e1;
                justify-content: center;
                line-height: 1.5;
                font-size: 15PX;
                padding: 3PX 0;
            }

            .time_item:nth-child(1) {
                border-left: none;
            }
        }

        &_select {
            height: 100%;
            overflow: auto;
        }

        &_bottom {
            display: flex;
            //justify-content: space-between;
            background: $color2;

            &_left {
                display: flex;
                flex: 1;
                border-top: 1PX solid $color-border;
                align-items: center;
                padding-left: 20PX;
                color: $color1;
            }

            &_button {
                color: white;
                border: none;
                background: $color1;
                width: 80PX;
                height: 100%;
                border-radius: 0;
            }
        }
    }

    &_list {
        background: $color2;
        border-bottom: 1PX solid $color-border;

        &_item {
            display: flex;
            flex-direction: column;
            border-bottom: 1PX solid $color-border;
            padding: 10PX 15PX;
            font-size: 14PX;

            &_wrap {
                display: flex;
                flex-direction: row;
                font-weight: 700;
                color: $color0;
                align-items: center;
            }

            &_con {
                display: flex;
                justify-content: center;
            }

            &_con:nth-child(1) {
                width: 45PX;
            }

            &_con:nth-child(2) {
                width: 35PX;
            }

            &_con:nth-child(3) {
                //flex: 1;
                padding: 0 2PX;
            }

            &_con:nth-child(4) {
                flex: 1;
            }

            &_con:nth-child(5) {
                width: 50PX;
            }
        }

        &_detail {
            display: flex;
            flex-direction: column;
            margin-top: 10PX;
            padding: 10PX 5PX;
            border-top: 1PX solid $color-border;
            font-size: 14PX;

            &_wrap {
                display: flex;
                justify-content: space-between;
            }

            &_con {
                padding-bottom: 5PX;
            }

            &_footer {
                display: flex;
                flex-direction: row;
                justify-content: space-between;
                align-items: center;

                &_amount {
                    display: flex;
                    align-items: center;
                    color: $color1;

                    &_wrap {
                        margin-left: 10PX;
                        position: relative;
                        overflow: hidden;

                        &_son {
                            position: absolute;
                            left: 50%;
                            top: 0;
                            width: 36PX;
                            height: 25PX;
                            margin-left: -18PX;
                            z-index: 100;
                        }
                    }
                }

                &_takeCnt {
                    display: inline-block;
                    color: $color1;
                }

                &_button {
                    color: white;
                    border-color: $color-border;
                    background: $color1;
                    width: 100%;
                    height: 26PX;
                    line-height: 26PX;
                }
            }
        }
    }

    &_order {
        background: $color2;
        margin-top: 20PX;

        &_select {
            font-size: 14PX;
            background: $color2;

            &_title {
                position: relative;
                padding: 6PX 15PX;
                color: $color3;
            }

            &_title::before {
                content: "";
                display: inline-block;
                position: absolute;
                left: 8PX;
                top: 50%;
                margin-top: -8PX;
                width: 2PX;
                height: 16PX;
                background-color: $color1;
            }

            &_con {
                padding: 6PX 15PX;
                border-top: 1PX solid $color-border;
                border-bottom: 1PX solid $color-border;
            }


            &_list {
                display: flex;
                flex-direction: row;
                flex-wrap: wrap;
                border-bottom: none;

                &_tips {
                    color: $color1;
                }

                &_item {
                    display: flex;
                    width: 31%;
                    margin-right: 2.3%;
                    color: $color1;
                    border: 1PX solid $color1;
                    border-radius: 5PX;
                    margin-bottom: 5PX;
                    flex-direction: column;

                    &_header {
                        font-weight: 700;
                        border-bottom: 1PX solid $color1;
                        justify-content: center;
                        text-align: center;
                        padding: 2PX 0;
                    }

                    &_con {
                        padding: 2PX;
                    }
                }

                &_item_active {
                    background: $color1;
                    color: $color2;

                    .orderFood_order_select_list_item_header {
                        border-bottom: 1PX solid $color2;
                    }
                }

                &_item_disable {
                    background: $color5;
                    color: $color3;
                }
            }

        }

        &_picker {
            display: flex;
            justify-content: space-between;

            &_left {
                color: $color4;
            }

            &_right {
                color: $color5;
            }
        }
    }

    &_wrap {
        width: 100%;
        flex-grow: 0;
        overflow-y: auto;
    }

    &_date {
        margin-top: 4PX;
        background-color: #FFFFFF;
        border-top: 1PX solid #e8e8e8;
        font-size: 14PX;

        &_header {
            border-bottom: 1PX solid #e8e8e8;
            padding: 5PX 15PX;
            background-color: aliceblue;
            font-weight: 700;
            color: $color0;
        }

        &_item {
            border-bottom: 1PX solid #e8e8e8;
            padding: 5PX 15PX;
            display: flex;

            &_left {
                margin-right: 10PX;
            }

            &_right {
                flex: 1;
                display: flex;
                flex-direction: column;

                &_con {
                    display: flex;

                    &_no {
                        flex: 1;
                        color: $color1;
                    }

                    &_left {
                        flex: 1;

                        .packageName {
                            color: #22b13f;
                            display: inline-block;
                            margin-right: 10PX;
                        }

                        .storeName {
                            display: inline-block;
                            margin: 0 10PX;
                        }
                    }
                }
            }
        }
    }
}
